<template>
	<view class="box">
		<radio-group name="radio">
		<view class="top">
			<text>￥80</text>
		</view>
		<view class="center">
			<text>全部付款方式</text>
		</view>
		<view class="center1">
			<view class="center-top">
				<image src="../../static/seven/weixin.png" mode=""></image>
				<text>微信支付</text>
				<label class="radio">
					<radio value="sex" :checked="1" @click="radio(1)" class="radio1" name="sex" />
				</label>
			</view>
			<view class="center-bottom">
				<image src="../../static/seven/zhifubao.png" mode=""></image>
				<text>支付宝支付</text>
				
				<label class="radio">
					<radio value="sex" :checked="2" @click="radio(2)" class="radio2" name="sex" />
				</label>
			</view>
			<view class="bottom">
				<button type="default">微信支付￥80</button>
			</view>
		</view>
		</radio-group>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:'',
				token:'',
			};
		},
		methods:{
			radio(id){
				
			}
		},
		onLoad(option){
			this.id = option.id
			this.token = uni.getStorageSync('token')
			console.log(111,option.id)
		},
	}
</script>

<style lang="less">
	page{
		background-color: #f3f3f3;
	}
	.box{
		.top{
			width: 750rpx;
			height: 90rpx;
			
			display: flex;
			align-items: center;
			justify-content: space-around;
			text{
				font-size: 48rpx;
				color: red;
				line-height: 90rpx;
			}
		}
		.center{
			width: 750rpx;
			height: 116rpx;
			background-color: #FFFFFF;
			margin-top: 106rpx;
			text{
				font-size: 26rpx; 
				line-height: 116rpx;
				margin-left: 38rpx;
			}
		}
		.center1{
			width: 750rpx;
			height: 220rpx;
			background-color: #FFFFFF;
			margin-top: 16rpx;
			.center-top{
				width: 750rpx;
				height: 110rpx;
				display: flex;
				align-items: center;
				
				image{
					width: 45rpx;
					height: 45rpx;
					margin-left: 40rpx;
				}
				text{
					margin-left: 33rpx;
				}
				.radio1{
					margin-left: 420rpx;
				}
			}
			.center-bottom{
				width: 750rpx;
				height: 110rpx;
				display: flex;
				align-items: center;
				image{
					width: 45rpx;
					height: 45rpx;
					margin-left: 40rpx;
				}
				text{
					margin-left: 33rpx;
				}
				.radio2{
					margin-left: 388rpx;
				}
			}
		}
		.bottom{
			width: 750rpx;
			height: 160rpx;
			background-color: #FFFFFF;
			border-radius: 20rpx 20rpx 0 0rpx;
			margin-top: 538rpx;
			padding-top: 10rpx;
			button{
				width: 680rpx;
				height: 70rpx;
				line-height: 70rpx;
				border-radius: 30rpx;
				background-color: red;
				color: #FFFFFF;
				
			}
		}
	}
</style>
